package com.finace.money.presenter.contract;

import com.finace.money.data.bean.BaseBean;
import com.finace.money.data.bean.EmptyBean;
import com.finace.money.data.bean.ImageBean;
import com.finace.money.ui.widget.BaseView;
import com.google.gson.JsonObject;

import java.util.stream.Stream;

import io.reactivex.Observable;
import okhttp3.Response;
import okhttp3.ResponseBody;

/**
 * Created by zhangpeng on 2018/1/26.
 */

public interface VerifyCodeContract {


    interface IVerifyCodeModel {
        Observable<BaseBean<EmptyBean>> sendCode(String phone, String type);
        Observable<BaseBean<ImageBean>> getImageCode();
    }

    interface View extends BaseView{
        void sendSucceed();

        void getImageSucess(ImageBean imageBean);
    }
}
